Skip to main content

Managing Poly Repo

Multiple GIT

Re-register the remote as a push URL.​

Re-register the remote as a push URL.​

  • git remote add all <current_github_repo>
  • git remote set-url --add --push all <current_github_repo>
  • git remote set-url --add --push all <current_github_repo_2>
  • git push all

CLEANUP UNRELATED GIT HISTORIES


Poly repo versus Mono Repo

Poly​

  • Needs Bounded Context
  • Needs clear seperation of ownership
  • Faster CI/CD
  • Easier to understand
  • GraphQL how to manage (?)

Cons​

  • Unable to spin up the whole thing e2e

Mono​

Notes:

  • Google uses, but using trunk based development
  • Conway's Law
  • Able to spin up everything (if you have a powerful machine)

Cons​

  • Slow
  • Anti pattern on commons
  • Anti pattern on microservices